<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="kaiji">
    <meta name="keyword" content="文章, 博客, 信息, 列表">
    <title>文章信息</title>
	<#include "admin/common.ftl" />
	<style type="text/css">
		.toolbar {
            border: 1px solid #ccc;
        }
        .text {
            border: 1px solid #ccc;
            height: 200px;
        }
	</style>
  </head>

  <body>
  <section id="container" class="">
      <!--header start-->
      <#include "admin/header.ftl" />
      <!--header end-->
      <!--sidebar start-->
      <#include "admin/sidebar.ftl" />
      <!--sidebar end-->
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">
            <div class="row">
              <div class="col-lg-12">
                  <section class="panel">
                      <header class="panel-heading">文章信息</header>
                      <div class="panel-body">
                      	<form role="form" class="form-horizontal tasi-form">
							  <div class="form-group">
							    <label class="control-label col-sm-2" for="title" >标题</label>
							    <div class="col-sm-5">
							    		${(article.title)}
							    </div>
							  </div>
							  <div class="form-group">
							    <label class="control-label col-sm-2" for="content" >内容</label>
							    <div class="col-sm-10">
							    ${(article.content)}
							    </div>
							  </div>
							  <div class="form-group">
							    <label class="control-label col-sm-2" for="name" >发布</label>
							    <div class="col-sm-5">
							      <label class="checkbox-inline">
							      <input type="radio" name="status" <#if article.status == 0 >checked=true</#if> value="0"/>发布
                                   </label>
							      <label class="checkbox-inline">
							      <input type="radio" name="status" <#if article.status == 1 >checked=true</#if> value="1"/>下架
                                   </label>
							    </div>
							  </div>

                                <div class="form-group">
                                    <label class="control-label col-lg-2">文章标签</label>
                                    <div class="col-lg-10">
                                        <#if tagList??>
                                            <#list tagList as tag>
                                                ${(tag.name)!}
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
							  
                              <div class="form-group">
                                <label class="control-label col-lg-2" for="parentId">文章状态</label>
				          	    <div class="col-lg-10">
				          	    	  <select name="sort" class="col-sm-1">
				          	    	  	<option value="0" <#if article.sort == 0>selected="selected" </#if>>正常</option>
				          	    	    <option value="1" <#if article.sort == 1>selected="selected" </#if>>热帖</option>
				          	    	    <option value="2" <#if article.sort == 2>selected="selected" </#if>>精华</option>
				          	    	    <option value="3" <#if article.sort == 3>selected="selected" </#if>>置顶</option>
				          	    	  </select>
				          	    </div>
                              </div>
							  
                              <div class="form-group">
                                  <div class="col-lg-offset-2 col-lg-10">
                                      <button class="btn" type="button" onClick="javascript:history.go(-1);">返回</button>
                                  </div>
                              </div>
                          </form>
                      </div>
                  </section>
              </div>
          </div>
	  </section>
  <!--main content end-->
 </section>

  </body>
</html>